package com.sanyang.lawyer.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sanyang.lawyer.entity.System_authority;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface System_authorityMapper extends BaseMapper<System_authority> {
    public List<System_authority> select();
    public System_authority getById(int id);
    public List<System_authority> getRoleAu(int id);
    //根据所选角色显示角色对应的权限
    public List<System_authority> updateAut(int id);
    //删除已有权限
    public void deleteRoleAut(int tableRoleid);
    //添加修改权限
    public void insertAut(int roleid,int authorityid);

}
